import Vue from 'vue'
import {Form,Field,Button,Progress,Picker,Popup,Checkbox,RadioGroup,Radio ,Tab, Tabs , Swipe, SwipeItem,Toast,Slider,Dialog ,Loading } from 'vant'
Vue.use(Form)
Vue.use(Field)
Vue.use(Button)
Vue.use(Progress)
Vue.use(Picker)
Vue.use(Popup)
Vue.use(Checkbox)
Vue.use(RadioGroup)
Vue.use(Radio)
Vue.use(Tab)
Vue.use(Tabs)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Toast)
Vue.use(Slider)
Vue.use(Dialog)
Vue.use(Loading)


const loadFont=(herf:string)=>{
    let css= document.createElement('link')
    css.rel ='stylesheet'
    css.type='text/css'
    css.href = herf
    document.getElementsByTagName("head")[0].appendChild(css)
  }
  
  
loadFont ('https://at.alicdn.com/t/font_2050819_eegsqcit71.css')